package com.bw.bean;

/**
 * @author 梁凯博
 */
public class OrderInfo {
    private int id;
    private int orderNo;
    private String status;
    private int cargoNum;
    private int distance;
    private int totalAmount;

    public OrderInfo(int id, int orderNo, String status, int cargoNum, int distance, int totalAmount) {
        this.id = id;
        this.orderNo = orderNo;
        this.status = status;
        this.cargoNum = cargoNum;
        this.distance = distance;
        this.totalAmount = totalAmount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(int orderNo) {
        this.orderNo = orderNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getCargoNum() {
        return cargoNum;
    }

    public void setCargoNum(int cargoNum) {
        this.cargoNum = cargoNum;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public int getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(int totalAmount) {
        this.totalAmount = totalAmount;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "id=" + id +
                ", orderNo=" + orderNo +
                ", status='" + status + '\'' +
                ", cargoNum=" + cargoNum +
                ", distance=" + distance +
                ", totalAmount=" + totalAmount +
                '}';
    }
}
